package com.cr.admin.business.vip.dao.repository;

import com.cr.admin.business.vip.pojo.dto.VipAddParam;
import com.cr.admin.business.vip.pojo.dto.VipPasswordParam;
import com.cr.admin.business.vip.pojo.dto.VipQuery;
import com.cr.admin.business.vip.pojo.dto.VipUpdateParam;
import com.cr.admin.business.vip.pojo.entity.Vip;
import com.cr.admin.business.vip.pojo.vo.VipDetailVO;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface VipRepository {


    List<Vip> selectList(VipQuery vipQuery);

    void insert(VipAddParam vipAddParam);

    void updateById(VipUpdateParam vipUpdateParam);

    Vip selectById(Long id);

    void deleteByIds(List<Long> ids);


    void resetPassword(Long id);

    void updateStatus(Long id, Integer status);
}
